getTextEffectiveHorizontalAlignment

Gets the effective horizontal alignment of a text block. If the alignment is set to Auto, this returns the resolved alignment (Left or Right) based on the text direction of the first logical run. This never returns 'Auto'.

Return

the effective alignment ('Left', 'Right', or 'Center').

Parameters

block

the text block whose effective alignment should be returned.